package com.example.fzj.hazelcast;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.web.filter.OncePerRequestFilter;
import org.springframework.web.filter.ShallowEtagHeaderFilter;

@SpringBootApplication
public class HazelcastCommonApplication {

    public static void main(String[] args) {
        SpringApplication.run(HazelcastCommonApplication.class, args);
    }

    @Bean
    public OncePerRequestFilter shallowEtagHeaderFilter() {
        return new ShallowEtagHeaderFilter();
    }

}
